var html = function(){
	
	return{
		
	
	 f1 : function(bookname,zz,jj){
		let str = '<div class="fengmian1"><div class="divimg">'+
				'<img src="../images/b6-min.jpg"/></div>'+
				'<div class="divtext"><div class="shuming1">'+
				bookname +
				'</div><div class="zuozhe1">'+
				zz +
				'</div><div class="jianjie1">'+
				jj+
				'</div><div class="biao">'+
				'渭书'+
				'</div></div></div>';
		return str;
	},
	 f2 : function(bookname,zz,jj){
		let str ='<div class="fengmian1"><div class="divtext">'+
				'<div class="shuming2">'+
				bookname +
				'</div><div class="zuozhe2">' +
				zz +
				'</div><div class="jianjie2">'+
				jj +
				'</div></div><div class="divimg2">'+
				'<img src="../images/books_bg.png"/>'+
				'<div class="biao2">渭书'+
				'</div></div></div>';
		return str;
	},
	
	 f3 : function(bookname,zz,jj){
		let str ='<div class="box"><div class="box_top">'+
				'<div class="books_name">'+
				bookname+
				'</div><div class="name">'+
				zz+
				'</div></div><div class="cover_img">'+
				'<img src="../images/b4-min.jpg" alt="" />'+
				'</div><div class="foot">'+
				'渭书'+
				'</div></div>';
		return str;				
	},
	 f4 : function(bookname,zz,jj){
		let str = '<div class="box2"><div class="box_top2"><div class="books_name2">'+
				bookname +
				'</div><div class="name2">'+
				zz +
				'</div></div><div class="cover_img2">'+
				'<img src="../images/b4-min.jpg" alt="" />'+
				'</div><div class="foot2">'+
				'渭书'+
				'</div></div>';
		return str;	
	},
	
	 f5 : function(bookname,zz,jj){
		let str = '<div class="fengmian1"><div class="divimg3">'+
				'<img src="../images/books_header.png"/>'+
				'</div><div class="divtext3"><div class="shuming3">'+
				bookname +
				'</div><div class="zuozhe3">'+
				zz +
				'</div><div class="jianjie3">'+
				jj +
				'</div><div class="biao3">渭书</div></div></div>';
		return str;	
	},
	
	 f6 : function(bookname,zz,jj){
		let str ='<div class="box3"><div class="cover_img3">'+
				'<img src="../images/b4-min.jpg" alt="" />'+
				'</div><div class="box_top3"><div class="books_name3">'+
				bookname +
				'</div><div class="name3">'+
				zz +
				'</div></div><div class="foot3">渭书</div></div>';
		return str;	
	},
	//书本详情
	bookdel : function(bn,zz,cp,pnum,ynum,znum,fx,jx,time){
		let str ='<div class="delmain"  style=""><div class="mtext">'+
				'<div class="cent"><div class="y2name" >'+
				bn + 
				'</div><div class="namexian"></div><div style="">作者：'+
				zz +
				'</div><div style="">出品：'+
				cp +
				'</div><div style="">篇数：'+
				pnum+
				'篇</div><div style="">页数：'+
				ynum +
				'页</div><div style="">字数：'+
				znum +
				'</div><div style="">发行：'+
				fx +
				'</div><div style="">经销：'+
				jx + 
				'</div><div style="">创作时间：'+
				time +
				'</div><div style="">渭书书号：印制后生产</div><div style="">维狐网络科技</div>'+
				/*<div style="">
						网址：www.whlj.com
					</div>*/
				'<div style="">'+
				'本书版权归内容原作者所有，未经作者许可不得转载、复制、翻印。'+
				'</div></div></div></div>';
		return str;	
	},
	
	bookml : function(list){
		let str = '<div class="mulumain"><div class="mlcont"><div class="ml">目录</div><div class="mlcontent">';
		for (let i = 0; i < list.length && i < 15; i++) {
			str += 	'<div class="mltext"><span >'+
			
					list[i].page + '</span>&nbsp;&nbsp;&nbsp;<span >' + list[i].title +
					'</span></div>';
		}
		str += '</div></div></div>';
		return str;	
		},
	bookml2 : function(list){
		let str = '<div class="mulumain"><div class="mlcont"><div class="mlcontent">';
		for (let i = 0; i < list.length && i < 18; i++) {
			str += 	'<div class="mltext"><span >'+
			
					list[i].page + '</span>&nbsp;&nbsp;&nbsp;<span >' + list[i].title +
					'</span></div>';
		}
		str += '</div></div></div>';
		return str;	
		},	
	}
}();
